<?php


namespace app\api\controller;


use app\common\service\DirectsService;

class Directs
{
    public function index(){
        $dService = new DirectsService(input());
        $result = $dService->datalist();
        return apiSuccess($result);
    }
}